package com.wenan.ui.controls.listpanel
{
	import mx.containers.FormItem;
	import mx.controls.Label;
	
	public class SquareInfoItem extends FormItem
	{
		private var _infoItem:Object;
		
		public function SquareInfoItem()
		{
			super();
		}

		public function get infoItem():Object
		{
			return _infoItem;
		}

		public function set infoItem(value:Object):void
		{
			_infoItem = value;
			this.label=_infoItem.name;
		}

	}
}